import HttpUtils from '../HttpUtils/HttpUtils';
var falg = false;
// 获取当前时间戳
var timestamp = Date.parse(new Date()) / 1000;
Page({
	...HttpUtils.func,
	data: {
		//是否弹出收费弹框
		showMoneyPop: !1,
		showUserId: !1,
		serviceStopTime: '',
		goodsItemName: '',
	},

	onLoad(params) {
		var userId = params.userId;
		//如果服务时间 到期 則弹框
		this.setData({
			goodsItemName: getApp().globalData.goodsItemName,
			serviceStopTime: getApp().globalData.serviceStopTime,
			showMoneyPop: params.showMoneyPop ? !0 : !1,
			showUserId: userId == 0 ? !0 : !1,
		})
	},

});
